<template>
  <mt-swipe :auto="4000">
    <mt-swipe-item v-for="item in imgList" :key="item.id">
      <img class="auto-img" :src="item.img" />
    </mt-swipe-item>
  </mt-swipe>
</template>

<script>
export default {
  props: ['imgList']
}
</script>

<style lang="scss" scoped>
.mint-swipe {
  // height: 200px;
	height: 150px;
  color: #fff;
  .mint-swipe-items-wrap {
    .mint-swipe-item {
      text-align: center;
    }
    // img {
    //   width: 100%;
    //   height: 100%;
    // }
  }
}
.auto-img{
	width: 100%;
	// height: 200px;
	display: block;
}
</style>
